import Calender from "../Calendar/Calendar";
import "./ListItem.css";

const ListItem = (props, b) => {
  console.log(props);
  /**
   * props是只读的，不能修改
   */
  // props.date = "123";
  return (
    <div className="list-item">
      <Calender date={props.date}></Calender>
      <div className="item-contnet">
        <p className="title">{props.title}</p>
        <p className="desc">{props.desc}</p>
      </div>
    </div>
  );
};

export default ListItem;
